package com.whc.service;

import com.whc.entity.Message;
import com.whc.vo.MessageVo;

import java.util.List;

/**
 * @author 韦红材
 * @ClassName MessageService
 * @data 2024/12/10 17:00
 * @Version V1.0
 **/
public interface MessageService {
    //添加一条消息
    void add(Message message);
    //查询消息
    List<MessageVo> getAll(long senderId,long accepterId);

    //删除消息
    void deleteMessage(long id);

    void updateMessage(Message message);
}
